<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<style>
  #div1 {
    color: pink;
  }

  div {
    border: 1px solid #ccc;
  }

  #div2 {
    color: greenyellow;
  }
</style>

<body>
  <button id="btn1">点我</button>

  <div id="div1">
    <p id="p1">激活</p>
    <p id="p2">取消</p>
    <p id="p3">取消</p>
    <p id="p4">取消</p>
  </div>

  <div id="div2">
    <p id="p6">取消</p>
    <p id="p7">取消</p>
  </div>
</body>
<script src="./事件绑定和事件冒泡.js"></script>

</html>